home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 6 / CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso / imagine / extras / tools / iiutilities / stars.readme < prev    next >
Text File  |  1995-03-30  |  9KB  |  197 lines

  1.                              --- Stars V1.3 ---
  2.                                   Feb-1-95
  3. What is it?
  4.  
  5.  Stars is a program that will generate starfields in TDDD format.
  6.  (Thats the file format for Imagine 3D)
  7.  
  8. Usage is pretty simple.  All you need to supply is a filename, number
  9. of stars and the distance from the axis that they are to be placed.
  10.  
  11.  Ex: "Stars Universe.iob 500 XS=160"
  12.  
  13. This will generate a sphere of 500 stars placed 160 Imagine units from
  14. the axis of the object.  There are more paramaters to further customise
  15. your starfield.  A template can be listed by typing "Stars ?".
  16.  
  17. The following paramaters will let you completely customise a starfield.
  18. It can be a sphere stretched and shaped in three directions, covered in
  19. a skin of stars or partially or totally filled.  A rectangular shape
  20. can be used instead, or a square or oval based filled or hollow torus.
  21. Stars can als be given many shapes including disks, triangles, squares,
  22. particles and cubes.
  23.  
  24. File: (Required)
  25.  
  26.   This is the filename to save the imagine TDDD file to.
  27.  
  28. S=Stars: (Required)
  29.  
  30.   How many stars in your universe?  The more the merrier.
  31.  
  32. XS=XSize, YS=YSize, ZS=ZSize: (Default=160)
  33.  
  34.   This is how large your sphere or rectangular starfield is.  Only
  35.   XSize is needed, YSize and ZSize will be equal to XSize if they
  36.   are left out.  This lets you produce a sphere or a galaxy like
  37.   shape.  These valused are used to produce squares and rectangles
  38.   by using the Cube switch described later.
  39.  
  40. SS=SmallStarSize, LS=LargeStarSize: (Default=5)
  41.  
  42.   How big are the stars?  If just SmallStarSize is given the stars
  43.   will all be the same size.  If both Small and Large values are given
  44.   the stars will be randomly sized between these two values.  This is
  45.   the radius of the star.
  46.  
  47. RV=RadiusVolume: (Default=0, Max=100)
  48.  
  49.   When Cube is not set, stars are scattered across the surface of
  50.   a sphere.  This sets the 'thickness' of the skin of stars.  A
  51.   value of zero causes it to be perfictly thin, and a volume of
  52.   100 will cause the sphere to be filled totally with stars.  As
  53.   you increase thie value, stars start to fill in the sphere from
  54.   the outside skin to the center point.
  55.   XLogScale is ignored when this options is selected.
  56.  
  57. F=Faces:
  58.  
  59.   By default Stars generates a 4 sided 3D star.  This option makes stars
  60.   stars out of flat disks instead.  Faces is the number of triangles used
  61.   to make each disk.  The more used the smoother the star, but the more
  62.   space it will take up.  Use a whole number above zero.  Using a one will
  63.   give you single triangles, and two gives squares.  Higher numbers
  64.   start to give the look of disks.  The stars are automaticly rotated
  65.   to face the axis of the object.
  66.  
  67. LR=LowRed, HR=HighRed, LG=LowGreen, HG=HighGreen, LB=LowBlue, HB=HighBlue:
  68. (Default= LowRGB: 230,235,250 HighRGB: 255,255,255)
  69.  
  70.   Each star can be randomly colored.  This sets the colors for
  71.   the stars.  The colors are picked between the min and max
  72.   values.  If you set the Highs to 255,255,100 and Lows to 0,0,0
  73.   you will get a color range from black to yellow.
  74.  
  75. Seed: (Number)
  76.  
  77.   By default Star will seed the random number generator with the
  78.   Amiga's clock to give diffrent starmaps for each program run.
  79.   But sometimes you might want to render with the same seed.
  80.   For example, render two starfields exactly the same except for
  81.   the star sizes.  You could then have the star sizes change in
  82.   an animation.  Or better, change the X,Y,ZSize from very
  83.   small to very large.  Use states to make an explosion of stars.
  84.  
  85. XL=XLogScale, YL=YLogScale, ZL=ZLogScale: (Default=1)
  86.  
  87.   By default, a filled sphere or rectangle block will have stars filling
  88.   it evenly from start to finish.  These paramaters let you change that
  89.   to a more natural look, with the stars thining out at the edges.  For
  90.   a rectangular block, all three paramaters can be given diffrent values
  91.   to prodice the desired result.  For spherical starfields only the
  92.   XLogScale value is used which modifies the radus of the sphere.  For a
  93.   torus, the YLogScale is ignored.  Values staring with 2 and above turn 
  94.   on the Log effect.  The higher the number the more 'squeezed' the stars 
  95.   will become.
  96.  
  97. XT=XTarget, YT=YTarget, ZT=ZTarget: (Default=0)
  98.  
  99.   By default, stars are aligned with the objects center.  You can
  100.   change this with these paramaters.  The stars will then be rotated
  101.   so that they all face the point defined by the X,Y,Z values above.
  102.  
  103. P=PARTICLES: (Switch Deafult=OFF)
  104.  
  105.   Normally stars are made up of four sided objects.  This switch
  106.   tells stars to make them out of a single triangle.  It also
  107.   turns on Particles for this object, setting the Type to Sphere
  108.   and Alignment to Faces.  This is useful for when you want to get a
  109.   little closer to the stars or want to use a diffrent shape than
  110.   the one Stars generates.  This produces the best looking stars
  111.   in my opinion since CSG spheres will not have angles no matter
  112.   how close you get to them.  NOTE!  Remember to use trace mode
  113.   unless you set the particle type to something diffrent.  CSG
  114.   spheres are made up of triangles in Scanline and it will eat all
  115.   your memory if you use lots of CSG stars in Scanline.  In trace
  116.   mode it is pretty memory efficent.  The Faces option is disabled
  117.   when PARTICLES is activated.
  118.  
  119. NA=NOALIGN: (Switch Default=OFF)
  120.  
  121.   When using the PARTICLES or FACES switch, all triangles will be
  122.   facing the objects axis.  This is so if the camera is in the
  123.   center of the starfield it will see every disk or triangle face
  124.   on.  This switch turns this feature off and draws the triangles
  125.   facing in the same direction.
  126.  
  127. RA=RANDOMALIGN: (Switch Default=OFF)
  128.  
  129.   This will randomly spin each star instead of aligning to the target
  130.   point or leaving every star facing in the same direction.
  131.  
  132. FD=FASTDRAW: (Switch Default=OFF)
  133.  
  134.   This simply sets the FastDraw button for the generated object in
  135.   case you don't want to see all 10,000 stars draw when you first
  136.   load it.
  137.  
  138. C=CUBE: (Switch Default=OFF)
  139.  
  140.   This forms the stars from a cube or rectangle instead of a sphere.
  141.   This fills them in a volume defined by the XSize, YSize, and ZSize.
  142.  
  143. T=TORUS: (Switch Default=OFF)
  144.  
  145.   Torus is used when you want to create an asteroid field or any other
  146.   tube like volume of stars.  When TORUS is switched on, an oval or
  147.   rectangle with the dimentions of XSize by ZSize is swept around the
  148.   Z axis with a rasius given by YSize.  Imagine defines a torus by a
  149.   ring and tube radius.  In Stars, XSize and YSize define the tube
  150.   radius, and YSize is the ring radius.  You should set RadiusVary to
  151.   100 if you want a solid circular torus. Otherwise it is hollow.
  152.  
  153.    This is an example of using a rectangular based torus:
  154.   Stars Ast.iob 1000 XS=50 ZS=40 YS=160 SS=0 LS=2 ZL=2000 XL=15 TORUS CUBE
  155.    And a circular torus:
  156.   Stars Ast.iob 1000 XS=75 ZS=25 YS=150 SS=0 LS=2 RadiusVary=100 TORUS
  157.  
  158. RA=RANDOMPOINTS: (Switch Default=OFF)
  159.  
  160.   The RandomPoints flag will place each stars point randomly. This works
  161.   best with tetrahedrons and produces randomly shaped asteroids.  It also
  162.   will work with Faces and Particles.  Using it with Faces will give a
  163.   crumpled-paper look to each asteroid.
  164.  
  165. INFO: (Switch Default=OFF)
  166.  
  167.   INFO tells Stars not to write a file, but to simply tell you about
  168.   the starfield that would be generated with the paramaters given.
  169.   Just how much space does 10,000 stars take?
  170.  
  171. Ok.. to get an idea of what this looks like do the following...
  172.  
  173.  "Stars universe.iob 2500 XS=2000 SS=1 LS=25 PARTICLES"
  174.  
  175. Now load this object into the detail editor.  Your view should be inside
  176. the sphere of stars.  Use "Reset View" if this is not the case.
  177. Now render this in full trace mode in hires.  You should see a nice
  178. starfield full of stars of differing size and brightness.  And better
  179. yet, the stars will not dissapear when you render a 1280x800 project like
  180. the Imagine ones do.  Imagine's stars are only a single pixel, so the
  181. entire look of them changes when you change screen modes.  Not good.
  182.  
  183. For an interesting swarming effect make a project and copy the included
  184. staging file into it.  Next go to the Ram Disk and make six starfields named
  185. Stars0.iob to Stars5.iob with the command. "Stars <name> 20 XS=160 SS=75 NA"
  186. Now make a preview looping anim in the Stage editor... since each starfield
  187. is random it makes a pretty interesting scene for such a simple setup.
  188. There are lots of possibilities here..  you could make the XSize 1 at the
  189. start of the anim and 160 at the end to have the objects swarm outward
  190. randomly. Let me know anything neat you do as well as any bugs and or
  191. suggestions!  Feedback is nice.  :-)
  192.  
  193.  
  194. --
  195. IanSmith@moose.erie.net
  196. Ian.Smith@f564.n2601.z1.fidonet.org <-- Backup
  197.